import Vue from 'vue'
import Router from 'vue-router'
import Login from '@/components/Login/login.vue'

// 引入路由
Vue.use(Router)

const router = [
  {
    path: '/',
    redirect: '/login'
  },
  {
    path: '/login',
    component: Login
  }
]

export default new Router({
  routes: router
})